/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package UML_ER;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Element</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link UML_ER.Element#getContainer <em>Container</em>}</li>
 *   <li>{@link UML_ER.Element#getName <em>Name</em>}</li>
 *   <li>{@link UML_ER.Element#getOntologyReference <em>Ontology Reference</em>}</li>
 * </ul>
 * </p>
 *
 * @see UML_ER.UML_ERPackage#getElement()
 * @model
 * @generated
 */
public interface Element extends EObject {
	/**
	 * Returns the value of the '<em><b>Container</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link UML_ER.ERmodel#getInstanceElement <em>Instance Element</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Container</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Container</em>' container reference.
	 * @see #setContainer(ERmodel)
	 * @see UML_ER.UML_ERPackage#getElement_Container()
	 * @see UML_ER.ERmodel#getInstanceElement
	 * @model opposite="InstanceElement" transient="false"
	 * @generated
	 */
	ERmodel getContainer();

	/**
	 * Sets the value of the '{@link UML_ER.Element#getContainer <em>Container</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Container</em>' container reference.
	 * @see #getContainer()
	 * @generated
	 */
	void setContainer(ERmodel value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see UML_ER.UML_ERPackage#getElement_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link UML_ER.Element#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Ontology Reference</b></em>' containment reference list.
	 * The list contents are of type {@link UML_ER.OntologyReference}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ontology Reference</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ontology Reference</em>' containment reference list.
	 * @see UML_ER.UML_ERPackage#getElement_OntologyReference()
	 * @model containment="true"
	 * @generated
	 */
	EList<OntologyReference> getOntologyReference();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model nameRequired="true"
	 *        annotation="isOntologyReferenced body='self.ontologyReference->exists(x|x.name = name)'"
	 * @generated
	 */
	boolean isOntologyReferenced(String name);

} // Element
